package com.crr.service;

import com.crr.entity.User;
import com.crr.mapper.UserMapper;
import com.github.pagehelper.Page;

import java.util.List;
import java.util.Map;

public interface UserService {
    List<User> getAll();
    Page queryLikeUsers(Map<String,Object> cond);
    int addUser(User user);
    int delUser(User user);
    int updUser(User user);

    User getUser(User user);
    User login(User user);
}
